package com.youlu.campus.entity.english;

import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;

@Data
public class ActivityGroupQaType {

    public final static String QA_CHU_SAI = "chusai";

    public final static String QA_FU_SAI = "fusai";

    public final static String QA_JUE_SAI = "juesai";

    /**
     * 答题通过后是否解锁
     */
    private Boolean lock = Boolean.FALSE;

    /**
     * 住别类型名称 如：初赛、复赛、决赛
     */
    private String name;

    private String aliasName;
    /**
     * chusai:初赛
     * fusai:复赛
     * juesai:决赛
     */
    @Indexed
    private String code = "chusai";

    /**
     * 所属题库
     */
    private String qaInfoId;


    public void unLockQa(){
        //解锁复赛
        this.lock = Boolean.TRUE;


    }





}
